* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font-family: sans-serif;
  background-color: #8e44ad;
  color: #fff;
  margin: 0;
}

.counter-container {
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  margin: 30px;
}

.counter {
  font-size: 60px;
  margin-top: 10px;
}

@media (max-width:580px) {
  body {
    flex-direction: column;
  }
}